package com.xyht.medicine_management_system.modules.activity.service;

import com.xyht.medicine_management_system.common.commonReturn.ResponseResult;
import com.xyht.medicine_management_system.modules.activity.entity.MmsActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.medicine_management_system.modules.activity.entity.req.MmsActivityReq;

/**
 * <p>
 * 活动表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-11-29
 */
public interface MmsActivityService extends IService<MmsActivity> {

    ResponseResult addActivity(MmsActivityReq activityReq);

    ResponseResult delActivity(MmsActivityReq activityReq);

    ResponseResult updateActivity(MmsActivityReq activityReq);

    ResponseResult listActivity(Integer pageNum, Integer pageSize, String searchStr);

    ResponseResult activityDetail(String activityId);
}
